﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using zhangmenren.Db;
using zhangmenren.Models;

namespace zhangmenren.IService
{
    public interface IClassMSGService: IDependency
    {
        Task<int> Add(ClassifyEntity entity);
        Task<IEnumerable<ClassifyEntity>> Select();

        Task<int> Del(int id);

        Task<int> EditState(int id, bool state);
    }
}
